home *** CD-ROM | disk | FTP | other *** search
- package com.ms.dxmedia;
-
- import com.ms.com.ComFailException;
- import com.ms.dxmedia.rawcom.DALineStyle;
- import com.ms.dxmedia.rawcom.IDABehavior;
- import com.ms.dxmedia.rawcom.IDALineStyle;
-
- public class LineStyleBvr extends Behavior {
- private IDALineStyle _COMptr;
-
- public LineStyleBvr join(JoinStyleBvr var1) {
- try {
- return new LineStyleBvr(this.getCOMPtr().Join(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public LineStyleBvr end(EndStyleBvr var1) {
- try {
- return new LineStyleBvr(this.getCOMPtr().End(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public LineStyleBvr(IDALineStyle var1) {
- super(var1);
- this._COMptr = var1;
- }
-
- public LineStyleBvr() {
- super((IDABehavior)null);
- this._COMptr = null;
- }
-
- public void setCOMBvr(IDABehavior var1) {
- super.setCOMBvr(var1);
- this._COMptr = (IDALineStyle)var1;
- }
-
- public LineStyleBvr detail() {
- try {
- return new LineStyleBvr(this.getCOMPtr().Detail());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public LineStyleBvr color(ColorBvr var1) {
- try {
- return new LineStyleBvr(this.getCOMPtr().Color(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public LineStyleBvr lineAntialiasing(double var1) {
- try {
- return new LineStyleBvr(this.getCOMPtr().AntiAliasing(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public static LineStyleBvr newUninitBvr() {
- return new LineStyleBvr(new DALineStyle());
- }
-
- protected Behavior newUninitBehavior() {
- return newUninitBvr();
- }
-
- public LineStyleBvr width(NumberBvr var1) {
- try {
- return new LineStyleBvr(this.getCOMPtr().WidthAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public LineStyleBvr width(double var1) {
- try {
- return new LineStyleBvr(this.getCOMPtr().width(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public IDALineStyle getCOMPtr() {
- return this._COMptr;
- }
-
- public LineStyleBvr dash(DashStyleBvr var1) {
- try {
- return new LineStyleBvr(this.getCOMPtr().Dash(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
- }
-